<?php
namespace modules\post\action\show\modules;

use library\PageAction;
use helper\Util;

/**
 * ListAction class file
 * 文档类别模型列表展示
 * @author 宋欢 <iphper@yeah.net>
 * @version $Id: ListAction.php 1 2013-02-08 00:48:06Z huan.song $
 * @package modules.post.action.show.modules
 * @since 1.0
 */
class ListAction extends PageAction
{
	/**
	 * (non-PHPdoc)
	 * @see idea\mvc\interfaces.Action::run()
	 */
	public function run()
	{
		$ret = Util::getService('Modules', 'post')->findAll();
		$this->render($ret);
	}
}
